<?php
/*
 * Author:  Peter Morgan - pedromorgan@gmail.com
 */

// Database credentials - change these to your database settings
$DB['host'] = '192.168.1.2:c:\Vision\Data\Winacc.gdb';
$DB['user'] = 'sysdba';
$DB['pass'] = 'masterkey';


define('SITE_KEY','FireBase_0.2');
define('VERSION','0.1');

// this is the connection detail showed in the interface
$db_label = $DB['host'];


//define('LIBS_DIR', './libs');
define('ADODB_DIR', LIBS_DIR.'/adodb/');

//** ADODB database connection http://adodb.sourceforge.net
require_once('./libs/adodb/adodb.inc.php');
require_once('./libs/adodb/adodb-errorhandler.inc.php');
define('ADODB_ASSOC_CASE', 0);
$ADODB_FETCH_MODE = ADODB_FETCH_ASSOC;
$ADODB_FORCE_TYPE = ADODB_FORCE_NULL;
$db = &ADONewConnection('ibase');
$db->PConnect( $DB['host'], $DB['user'], $DB['pass'] );
unset($DB); // only paranoid survive

?>